package org.example.Pojo;

import java.util.Date;

public class Orders {
    private int OrderID;
    private String OrderDate;
    private float TotalAmount;
    private int CustomerID;

    public Orders() {
    }

    public Orders(int orderID, String orderDate, float totalAmount, int customerID) {
        OrderID = orderID;
        OrderDate = orderDate;
        TotalAmount = totalAmount;
        CustomerID = customerID;
    }

    public int getOrderID() {
        return OrderID;
    }

    public void setOrderID(int orderID) {
        OrderID = orderID;
    }

    public String getOrderDate() {
        return OrderDate;
    }

    public void setOrderDate(String orderDate) {
        OrderDate = orderDate;
    }

    public float getTotalAmount() {
        return TotalAmount;
    }

    public void setTotalAmount(float totalAmount) {
        TotalAmount = totalAmount;
    }

    public int getCustomerID() {
        return CustomerID;
    }

    public void setCustomerID(int customerID) {
        CustomerID = customerID;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "OrderID=" + OrderID +
                ", OrderDate='" + OrderDate + '\'' +
                ", TotalAmount=" + TotalAmount +
                ", CustomerID=" + CustomerID +
                '}';
    }
}

